package com.ws.service;

import com.ws.common.PaasPage;
import com.ws.entity.OrderItem;
import org.springframework.data.domain.Pageable; /**
 * @author ：ws
 * @date ：Created in 2023/10/24 12:30
 * @description：TODO
 * @modified By：
 * @version: 1.0.0
 */
public interface OrderService {
    PaasPage<OrderItem> getOrderPage(Pageable pageable, Long bookId,String statusCd);

    OrderItem saveOrder(OrderItem orderItem);

    OrderItem getOrderBasicInfo(Long orderId);

    void delOrder(Long orderId);

    OrderItem updateOrder(Long orderId, OrderItem orderItem);
}
